package com.ruoyi.domain;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 用户对象 t_user
 *
 * @author ruoyi
 * @date 2023-04-06
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 姓名
     */
    private String username;

    /**
     * 性别
     */
    private Long sex;

    /**
     * 手机
     */
    private String phone;

    /**
     * 微信
     */
    private String wx;

    /**
     * 小区
     */
    private Long communityId;

    /**
     * 楼栋
     */
    private Long buildingId;

    /**
     * 住户
     */
    private Long residentId;

    private Building building;
    private Community community;
    private Resident resident;
    /**
     * 地址
     */
    private String address;

    public Building getBuilding() {
        return building;
    }

    public void setBuilding(Building building) {
        this.building = building;
    }

    public Community getCommunity() {
        return community;
    }

    public void setCommunity(Community community) {
        this.community = community;
    }

    public Resident getResident() {
        return resident;
    }

    public void setResident(Resident resident) {
        this.resident = resident;
    }


}
